package com.cjgl.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cjgl.model.entity.TblUsers;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

/**
 * @author zhangyuwu
 * @description 针对表【tbl_users(用户信息表)】的数据库操作Mapper
 * @createDate 2023-05-24 13:49:32
 * @Entity com.cjgl.model.entity.TblUsers
 */
@Repository
public interface TblUsersMapper extends BaseMapper<TblUsers> {

	/**
	 * 改密码
	 *
	 * @param userNo
	 * @param userPassword
	 * @return
	 */
	@Update("update tbl_users set userPassword=#{userPassword} where userNo=#{userNo}")
	public Integer updateUserPasswordByUserNo(String userNo, String userPassword);
}




